package edu.sctu.java.advanced.pattern.valve;

public class Client {

    public static void main(String[] args) {


        Pipeline pipeline = new StandardPipeline();
        pipeline.setBasic(new LastValve());
        pipeline.addValve(new MyValvle());
        pipeline.addValve(new DemoValve());

        pipeline.start();

    }
}
